/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2022-04-27
 * Time: 17:01
 */
/*
public class OverCompare {
    static int Max(int a, int b) {
        return a > b ? a : b;
    }

    static double Max(double a, double b) {
        return a > b ? a : b;
    }

    static double Max(int a, double b, double c) {
        if ((a > b ? (a > c ? a : c) : (b > c ? b : c)) == a) {
            return (int) a;
        } else {
            return a > b ? (a > c ? a : c) : (b > c ? b : c);
        }
    }

    public static void main(String[] args) {
        int a = 1;
        int b = 5;
        double c = 3.3;
        double d = 4.4;
        System.out.println(Max(a, b));
        System.out.println(Max(c, d));
        if (Max(b, c, d) == (double) b) {
            System.out.println((int) Max(b, c, d));
        } else {
            System.out.println(Max(b, c, d));
        }
    }
}
*/
